<template>
  <div id="app">
    <Users :msg="msg"></Users>
  </div>
</template>

<script>
// 1.调用局部组件
import Users from "./components/Users";
export default {
  name: "app",
  components: {Users},
  comments: {
    // 2.注册组件
    Users
  },
  data() {
    return {
      msg: "ssss"
    }
  }
}
</script>

<style scoped>

</style>
